import request from '@/utils/request.js';

/**
 * 获取证件照尺寸分类
 */
export const getDocumentSizeCats = (data) => {
	return request.post(`mini/ApiConnect/getDocumentSizeCats`, data)
}

/**
 * 获取证件照尺寸列表
 */
export const getDocumentSizeList = (data) => {
	return request.post(`mini/ApiConnect/getDocumentSizeList`, data)
}

/**
 * 证件照尺寸详情
 */
export const getDocumentSizeConfigsList = (data) => {
	return request.post(`mini/ApiConnect/getDocumentSizeConfigsList`, data)
}

/**
 * 获取证件照冲印价格
 */
export const getPrintDocumentPrice = (data) => {
	return request.post(`mini/ApiConnect/getPrintDocumentPrice`, data)
}

/**
 * 获取证件照下单总价
 */
export const GoodsBuyNow = (data) => {
	return request.post(`mini/ApiConnect/GoodsBuyNow`, data)
}

/**
 * 提交订单
 */
export const CreatOrderInfo = (data) => {
	return request.post(`mini/ApiConnect/CreatOrderInfo`, data)
}

/**
 * 订单支付（微信weixin）
 */
export const MiniPayOrder = (data) => {
	return request.post(`mini/ApiConnect/MiniPayOrder`, data)
}